package com.mustang.core.client;
import com.mustang.core.client.type.JsObject;

/**
 * The class wraps the coordinates of the element relative to the document .
 * It is used by the 
 * {@link GQuery#offset()} to get the coordinates of the element
 * 
 * @author cuij
 *
 */
public final class Offset extends JsObject
{
	protected Offset()
	{
	}
	
	//Static Methods

	public native int left()/*-{
	{
		return this.left;
	}}-*/;

	public native int top()/*-{
	{
		return this.top;
	}}-*/;

}
